#include<iostream>
using namespace std;
int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    cout<<1<<endl;
    cout<<0<<endl;
    cout<<8<<endl;
    fclose(stdin);
    fclose(stdout);
    return 0;
}
